//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.purvar.boot.auto.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

@Component
@PropertySource({"classpath:generator.properties"})
public class AutoCodeConfig {
    @Autowired
    private Environment env;

    public AutoCodeConfig() {
    }

    public Environment getEnv() {
        return this.env;
    }

    public void setEnv(final Environment env) {
        this.env = env;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof AutoCodeConfig)) {
            return false;
        } else {
            AutoCodeConfig other = (AutoCodeConfig) o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$env = this.getEnv();
                Object other$env = other.getEnv();
                if (this$env == null) {
                    if (other$env != null) {
                        return false;
                    }
                } else if (!this$env.equals(other$env)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof AutoCodeConfig;
    }


    public String toString() {
        return "AutoCodeConfig(env=" + this.getEnv() + ")";
    }
}
